package edu.gdkm.pojo;

import lombok.Data;

import java.util.List;

@Data
public class Teacher {
    private Integer tid;
    private String name;
    private LoginInfo loginInfo;
    private List<Course> courseList;    //一名教师有多门课程

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LoginInfo getLoginInfo() {
        return loginInfo;
    }

    public void setLoginInfo(LoginInfo loginInfo) {
        this.loginInfo = loginInfo;
    }

    public List<Course> getCourseList() {
        return courseList;
    }

    public void setCourseList(List<Course> courseList) {
        this.courseList = courseList;
    }
}
